<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.tueye.entity.user.User"%>
<%@page import="com.tueye.utils.TuEyeConstant"%>
  
<div id="hearder">
<div id="banner">
<div id="logoHome"><img src="${pageContext.request.contextPath }/themes/images/tueyelogo.gif"　 /></div> 
</div>
<div id="info">　
<%
 User tueyeloginuser = (User)session.getAttribute(TuEyeConstant.TUEYE_USER);
  if(tueyeloginuser == null)
  {
 %>

<a href="${pageContext.request.contextPath }/pages/index.html" class="B">首页</a> &nbsp;&nbsp;|
<a href="${pageContext.request.contextPath }/pages/topics/usermanager/register.jsp" class="B">快速注册</a>&nbsp;&nbsp;|
<a href="${pageContext.request.contextPath }/pages/topics/usermanager/userlogin.jsp" class="B">登录</a>&nbsp;&nbsp;|
<a href='#' onClick ='javascript:window.external.AddFavorite(document.URL,document.title);return false'>收藏</a>
<%
 }else{
 %>
 <a href="${pageContext.request.contextPath }/pages/index.html" class="B">首页</a> &nbsp;&nbsp;|&nbsp;&nbsp;
<a href="${pageContext.request.contextPath }/userblog.do?userid=<%=tueyeloginuser.getId() %>"><%=tueyeloginuser.getByname() %></a> &nbsp;&nbsp;|
<a href="${pageContext.request.contextPath }/userexit.do">退出</a> &nbsp;&nbsp;|
<a href="${pageContext.request.contextPath }/pages/topics/usermanager/userinfoset.jsp">管理中心</a>&nbsp;&nbsp;|
<a href='#' onClick ='javascript:window.external.AddFavorite(document.URL,document.title);return false'>收藏</a>　
<%} %>
</div>
<div id="nevigation">
<ul>
<div class="focused"><a href="${pageContext.request.contextPath }/pages/index.html">首页</a></div>
<li><a href="${pageContext.request.contextPath }/pages/topics/zytm/index.html">追忆他们</a></li>
<li><a href="${pageContext.request.contextPath }/pages/topics/tsls/index.html">图说历史</a></li>
<li><a href="${pageContext.request.contextPath }/pages/topics/bfwb/index.html">变费为宝</a></li>
<li><a href="${pageContext.request.contextPath }/pages/topics/dtts/index.html">道听图说</a></li>
<li><a href="${pageContext.request.contextPath }/pages/topics/tsxw/index.html">图说新闻</a></li>
<li><a href="${pageContext.request.contextPath }/pages/topics/wxxz/index.html">温馨小照</a></li>
<li><a href="${pageContext.request.contextPath }/pages/topics/gxtt/index.html">搞笑贴图</a></li>
</ul>
</div>
</div>

